﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OnlineCourse.Model.Entity
{
    /// <summary>
    /// 支付订单记录
    /// </summary>
    public class PayOrder
    {
        public PayOrder()
        {
            CreatedDate = DateTime.Now;
            UpdatedDate = DateTime.Now;
        }
        public Guid Id { get; set; }
        /// <summary>
        /// 支付类型
        /// </summary>
        public Guid PaymentTypeId { get; set; }
        public PaymentType PaymentType { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public Guid UserId { get; set; }
        public User User { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime UpdatedDate { get; set; }
    }
}
